<?php

/**
 * This is the DbTable class for the ac2_setpoint table.
 */
class Model_DbTable_Setpoint extends Zend_Db_Table_Abstract
{
    protected $_name    = 'ac2_setpoint'; // table name
    protected $_primary = 'room_id';
    
    protected $_referenceMap    = array(
        'Room' => array(
            'columns'           => array('room_id'),
            'refTableClass'     => 'Model_DbTable_Room',
            'refColumns'        => array('room_id')           
        ),
    );
        
    
    /**
     * Update a setpoint
     *
     * @param  array $data 
     * @return int
     */
    public function update(array $data, $where)
    {
        return parent::update($data, $where);
    }
}
